package com.xayy.health.mgt.model.vo;

import lombok.Data;

import java.util.Objects;

/**
 * @author Nie
 * @version V1.0
 * @date 2023/4/26 15:03
 */
@Data
public class TaskResultVo {
    private String time;
    private Double value;

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        TaskResultVo that = (TaskResultVo) o;
        return Objects.equals(time, that.time);
    }

    @Override
    public int hashCode() {
        return Objects.hash(time);
    }
}
